package cn.tedu.view;

import java.util.Scanner;

public class TestView {
    private static final Scanner SCANNER = new Scanner(System.in);

    public static void main(String[] args) {
        new TestView().view();
    }

    public void view() {
        boolean isflag = true;
        while (isflag) {

            System.out.println("**************请登录******************");
            System.out.println("1.管理员");
            System.out.println("2.考生");
            System.out.println("3.退出");
            System.out.println("请输入:\t");
            String a = SCANNER.next();

            switch (a) {

                case "1":
                    break;
                case "2":new StudentView().mainview();
                    break;
                default:
                    System.out.println("输入数据非法");

            }
        }

    }
}
